package com.teacher.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.teacher.common.CommonResult;
import com.teacher.pojo.dto.publicwelfareactivities.PublicWelfareActivitiesGetDto;
import com.teacher.pojo.entity.PublicWelfareActivities;
import com.baomidou.mybatisplus.extension.service.IService;
import com.teacher.pojo.vo.publicwelfareactivities.PublicWelfareActivitiesGetVo;

/**
 * <p>
 * 公益活动-一条0.5 服务类
 * </p>
 *
 * @author zfm
 * @since 2021-08-11
 */
public interface IPublicWelfareActivitiesService extends IService<PublicWelfareActivities> {

    /**
     * 查询公益活动
     *
     * @param dto
     * @return
     */
    CommonResult<IPage<PublicWelfareActivitiesGetVo>> getPage(PublicWelfareActivitiesGetDto dto);
}
